package com.tre.jdevtemplateboot.exception.business;

import com.tre.jdevtemplateboot.common.enums.ExceptionHandlerEnums;
import com.tre.jdevtemplateboot.exception.global.SysBusinessException;

public class SysUnAuthorizedFileException extends SysBusinessException {

    public SysUnAuthorizedFileException() {
        super(ExceptionHandlerEnums.UNAUTHORIZED_FILE_ERROR.getMsg()
                , ExceptionHandlerEnums.UNAUTHORIZED_FILE_ERROR.getStatus()
                , ExceptionHandlerEnums.UNAUTHORIZED_FILE_ERROR.getCode());
    }

    public SysUnAuthorizedFileException(String message) {
        super(message
                , ExceptionHandlerEnums.UNAUTHORIZED_FILE_ERROR.getStatus()
                , ExceptionHandlerEnums.UNAUTHORIZED_FILE_ERROR.getCode());
    }

}
